package model;

import java.io.Serializable;

import javax.persistence.*;

@Entity
public class Notification implements Serializable {
	private static final long serialVersionUID = -5744234414920696268L;
	/** Identifiant de la notification */
	private int idNotification;
	/** Identifiant de celui qui recoit */
	private int idReceveur;
	/** Identifiant de celui qui poste */
	private int idPosteur;
	/** Message de la notification */
	private String message;

	/**
	 * Constructeur
	 */
	public Notification() {

	}

	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	public int getIdNotification() {
		return idNotification;
	}

	public void setIdNotification(int idNotification) {
		this.idNotification = idNotification;
	}

	public int getIdReceveur() {
		return idReceveur;
	}

	public void setIdReceveur(int idReceveur) {
		this.idReceveur = idReceveur;
	}

	public int getIdPosteur() {
		return idPosteur;
	}

	public void setIdPosteur(int idPosteur) {
		this.idPosteur = idPosteur;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

}
